public class FomStudent extends Fommie
{
	int mat_nr;
	int bancAccount;
	
	public int getMatNr()
	{
		return mat_nr;
	}
	
	public void setMatNr(int matNr)
	{
		this.mat_nr = matNr;
	}
	
	public FomStudent(String name, String surname, int mat_nr, int bancAccount)
	{
		super(name,surname);
		this.mat_nr = mat_nr;
		this.bancAccount = bancAccount;
	}
	
	public void print()
	{
		System.out.println(this.getName()+","+this.getSurname());
	}
}
		